﻿using Prism.Events;
using Prism.Ioc;
using System.Windows.Controls;

namespace Module.CanJuSheJi.Views
{
    /// <summary>
    /// Interaction logic for CanJuSheJiApp
    /// </summary>
    public partial class CanJuSheJiApp : UserControl
    {
        private ChessBoard board;
        public CanJuSheJiApp(IEventAggregator ea, IContainerProvider Cp)
        {
            InitializeComponent();
            board = new(ea, Cp,  this.GetType().Module.Name);
            ChessBoardRegion.Children.Add(board);
        }
    }
}
